Alternate Without auto_ptr<>

OurClass(const OtherObject &aRef, const OtherObject &bRef):
    a(0),
    b(0)
{
    try
    {
        a = new OtherObject(aRef);
        b = new OtherObject(bRef);
    }
    catch (...)
    {
        delete a;
        delete b;
    }
};